<?php
$config['game_server_enabled'] = array(0=>'<font color="red">未开服</font>', 1=>'已开服');
$config['game_enabled'] = array(0=>'<font color="red">禁止</font>', 1=>'开启');
$config['game_address'] = array(0=>'正常位置',1=>'官网轮播图下方',2=>'首页game区域');
$config['coming_soon'] = array(0=>'否', 1=>'是');
$config['type_id']      =array(0=>'游戏截图',1=>'游戏flash',2=>'游戏展示图');

$config['game_login_method'] = array('GET'=>'GET', 'POST'=>'POST');
$config['game_pay_method'] = array('GET'=>'GET', 'POST'=>'POST', 'SHELL'=>'SHELL', 'SOAP'=>'SOAP');
$config['game_pay_return_type'] = array('string'=>'string', 'json'=>'json', 'xml'=>'xml');

$config['game_commend'] = array(0=>'无状态', 1=>'最新', 2=>'推荐', 3=>'热门');
$config['is_new'] = array(0=>'否', 1=>'是');
$config['game_type'] = array(0=>'--请选择--',
							'1' => 'Action(动作游戏)',
							'2' => 'Puzzle(智力游戏)',
							'3' => 'Family(家庭游戏)',
							'4' => 'Arcade(街机游戏)',
							'5' => 'Strategy(策略游戏)',
							'6' => 'Board(桌面游戏)',
							'7' => 'Role Playing(角色扮演)',
							'8' => 'Racing(赛车游戏)',
							'9' => 'Sports(体育游戏)',
							'10' => 'Adventure(探险游戏)',
							'11' => 'Word(文字游戏)',
							'12' => 'Casino(娱乐场游戏)',
							'13' => 'Card(扑克牌游戏)',
							'14' => 'Music(音乐游戏)',
							'15' => 'Simulation(模拟游戏)',
							'16' => 'Trivia(小游戏)',
							'17' => 'Kids(儿童游戏)',
							'18' => 'Education(教育游戏)');
$config['game_login_plugin'] = array(0=>'否', 1=>'是');
$config['game_pay_plugin'] = array(0=>'否', 1=>'是');
$config['platform'] = array('all'=>'all', 'ios'=>'ios', 'android'=>'android', 'html5'=>'html5');
$config['rank_platform'] = array('ios'=>'ios', 'android'=>'android'); //排行榜和奖励区分android和IOS
$config['game_status']= array('1'=>'开启', '2'=>'关闭');


$config['game_table_sql'] = "CREATE TABLE `g5_game_server_members_{game_id}` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) unsigned NOT NULL COMMENT '用户编号',
  `user_code` varchar(20) NOT NULL,
  `user_from` int(11) NOT NULL,
  `user_channel` int(4) NOT NULL,
  `game_id` smallint(6) unsigned NOT NULL COMMENT '游戏编号',
  `server_id` mediumint(8) unsigned NOT NULL COMMENT '服务区编号',
  `user_from_game` smallint(6) unsigned NOT NULL,
  `user_game_pay` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '该服充值金额',
  `user_game_level` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '游戏等级',
  `user_role_name` varchar(20) NOT NULL COMMENT '游戏角色名',
  `user_add_date` int(10) unsigned NOT NULL,
  `user_active_time` int(10) unsigned NOT NULL COMMENT '激活时间',
  `user_last_login` int(10) unsigned NOT NULL COMMENT '上一次登录日期',
  `user_login_ip` varchar(16) NOT NULL COMMENT '登录IP',
  `user_login_times` int(6) unsigned NOT NULL DEFAULT '1' COMMENT '登录次数',
  `user_login_1` tinyint(1) NOT NULL DEFAULT '0',
  `user_login_3` tinyint(1) NOT NULL DEFAULT '0',
  `user_login_7` tinyint(1) NOT NULL DEFAULT '0',
  `user_login_14` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_game_server` (`user_id`,`game_id`,`server_id`),
  KEY `pg_userid` (`user_id`),
  KEY `user_active_time` (`user_active_time`),
  KEY `user_last_login` (`user_last_login`),
  KEY `union` (`user_from`,`user_channel`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='游戏服务区用户数据'";